package com.cxx.admin.controller;


import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/wechat")
@Tag(name = "微信管理")
public class WeChatController {

    @Operation(summary = "获取code")
    @GetMapping("/code")
    public Boolean getWeChatAuthCode(@RequestParam("code") String code) {
        System.out.println(code);
        return Boolean.TRUE;
    }
}